﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace appDataContracts
{
    [DataContract]
    public class SerializedSupplier
    {
        [DataMember]
        public int SUPPLIERID { get; set; }
        [DataMember]
        public String SUPPLIERNAME { get; set; }
        [DataMember]
        public String SUPPLIERADRESS { get; set; }
        [DataMember]
        public String SUPPLIERZIP { get; set; }
        [DataMember]
        public String SUPPLIERCITY { get; set; }
        [DataMember]
        public String SUPPLIERCOUNTRY { get; set; }
        [DataMember]
        public String SUPPLIERMAIL { get; set; }
        [DataMember]
        public String SUPPLIERPHONE { get; set; }
        [DataMember]
        public String SUPPLIERPASSWORD { get; set; }
        [DataMember]
        public DateTime SUPPLIERDATELIMIT { get; set; }

        public SerializedSupplier()
        {
        }

        public SerializedSupplier(int SUPPLIERID, String SUPPLIERNAME, String SUPPLIERADRESS, String SUPPLIERZIP,
            String SUPPLIERCITY, String SUPPLIERCOUNTRY, String SUPPLIERMAIL, String SUPPLIERPHONE,
            String SUPPLIERPASSWORD, DateTime SUPPLIERDATELIMIT)
        {
            this.SUPPLIERID = SUPPLIERID;
            this.SUPPLIERNAME = SUPPLIERNAME;
            this.SUPPLIERADRESS = SUPPLIERADRESS;
            this.SUPPLIERZIP = SUPPLIERZIP;
            this.SUPPLIERCITY = SUPPLIERCITY;
            this.SUPPLIERCOUNTRY = SUPPLIERCOUNTRY;
            this.SUPPLIERMAIL = SUPPLIERMAIL;
            this.SUPPLIERPHONE = SUPPLIERPHONE;
            this.SUPPLIERPASSWORD = SUPPLIERPASSWORD;
            this.SUPPLIERDATELIMIT = SUPPLIERDATELIMIT;
        }
    }
}